package tuan02;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Scanner;


public class clsPhanSo{
	private int m_iTuSo;
	private int m_iMauSo;
   
	
	public int getTuSO(){
		return m_iTuSo;
	}
	
	public int getMauSo(){
		return m_iMauSo;
	}
	
	public void setTuSo(int _iTuSo){
		m_iTuSo = _iTuSo;
	}
	
	public void setMauSo(int _iMauSo){
		m_iMauSo = _iMauSo;		
	}
	
	public clsPhanSo(){
		m_iMauSo = 1;
		m_iTuSo = 0; 
	}
	public clsPhanSo(int _iTuSo, int _iMauSo){
		if(_iMauSo == 0){
			m_iMauSo = 1;
                        m_iTuSo = 0;
		}
		else{
                        m_iMauSo = _iTuSo;
                        m_iTuSo = _iMauSo;
		}
	}
	
	
        public static void DocPhanSo() throws FileNotFoundException, IOException{ 
            clsPhanSo ps;
        
            FileReader fr= new FileReader("phanso.txt");
            BufferedReader input= new BufferedReader(fr);
            int n;
            n = Integer.parseInt(input.readLine());
            String [] str;
            for(int i = 1; i <= n; i++){
                str = input.readLine().split("/");
                ps = new clsPhanSo(Integer.parseInt(str[0]), Integer.parseInt(str[1]));
            }

        }
}